import BaseException from "./base.exception"
export class ViewmodeActiveTransitionError extends BaseException {
  constructor(e: Error | string = "Tried to start view-mode transition while another transition was active") {
    super(e)
    this.name = "ViewmodeActiveTransition"
  }
}
export class ViewmodeChangeLockedError extends BaseException {
  constructor(e: Error | string = "Cannot change viewmode when locked") {
    super(e)
    this.name = "ViewmodeChangeLockedError"
  }
}
export class ViewmodeConvertException extends BaseException {
  constructor(e: Error | string, code: string) {
    super(e)
    this.code = code
  }
}
